<?php

class food {

    private $foodCod;
    private $nameFood;
    private $drymatter;
    private $crudeProtein;
    private $NDT;
    private $EM;
    private $ENM;
    private $ENG;
    private $Ca;
    private $P;

    public function __construct() {
        $this->foodCod = 0;
        $this->nameFood = '';
        $this->drymatter = 0.0;
        $this->crudeProtein = 0.0;
        $this->NDT = 0.0;
        $this->EM = 0.0;
        $this->ENM = 0.0;
        $this->ENG = 0.0;
        $this->Ca = 0.0;
        $this->P = 0.0;
    }

    public function getFoodCod() {
        return $this->foodCod;
    }

    public function setFoodCod($foodCod) {
        $this->foodCod = $foodCod;
    }

    public function getNameFood() {
        return $this->nameFood;
    }

    public function setNameFood($nameFood) {
        $this->nameFood = $nameFood;
    }

    public function getDrymatter() {
        return $this->drymatter;
    }

    public function setDrymatter($drymatter) {
        $this->drymatter = $drymatter;
    }

    public function getCrudeProtein() {
        return $this->crudeProtein;
    }

    public function setCrudeProtein($crudeProtein) {
        $this->crudeProtein = $crudeProtein;
    }

    public function getNDT() {
        return $this->NDT;
    }

    public function setNDT($NDT) {
        $this->NDT = $NDT;
    }

    public function getEM() {
        return $this->EM;
    }

    public function setEM($EM) {
        $this->EM = $EM;
    }

    public function getENM() {
        return $this->ENM;
    }

    public function setENM($ENM) {
        $this->ENM = $ENM;
    }

    public function getENG() {
        return $this->ENG;
    }

    public function setENG($ENG) {
        $this->ENG = $ENG;
    }

    public function getCa() {
        return $this->Ca;
    }

    public function setCa($Ca) {
        $this->Ca = $Ca;
    }

    public function getP() {
        return $this->P;
    }

    public function setP($P) {
        $this->P = $P;
    }

}

?>
